package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.javassist.NotFoundException;

import java.util.List;

public interface NursingPlanService {
    PageResponse<NursingPlanVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    void add(NursingPlanDto nursingPlanDTO);

    List<NursingPlanVo> getAll();

    NursingPlanVo getById(Long id);

    void update(NursingPlanDto nursingPlanDTO) throws NotFoundException;

    void deleteById(Long id) throws NotFoundException;

    void updateStatus(Long id, Integer status);
}
